// ==UserScript==
// @name           Buy Linode Tokyo
// @namespace      Buy Linode Tokyo
// @description    Buy Linode Tokyo
// @match        https://manager.linode.com/linodes/add*
// @version    0.1
// @copyright  2015+, steven
// ==/UserScript==

//感谢https://raw.githubusercontent.com/ytzong/UserScripts/master/buy-linode-tokyo.user.js
//基于上述url脚本进行修改 

function YTFunc() {
    try {
        document.getElementById('linode1024.4').checked = true;

        var objOption=document.createElement("OPTION");
        objOption.value='8';
        objOption.text='Tokyo, JP';
        document.getElementById('DatacenterID').add(objOption);

        document.getElementById('DatacenterID').value = 8;
        document.getElementById('signup').submit()
    }
    catch (e) { }
}
window.setTimeout(YTFunc, 5000);